package com.xl98.service;

import com.xl98.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
@Service
public interface RolePermissionService extends IService<RolePermission> {
    //查询角色的所有权限
    public List<RolePermission> selectRolePermissionByRoleId(String rid);
    //为角色增加一类权限
    public int addRolePerm(RolePermission rolePermission);
}
